package ex65;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws IOException {
		
		InputStreamReader it = new InputStreamReader(System.in);
		BufferedReader in = new BufferedReader(it);
		
		int n[] = new int[5], count = 0;
		
		for (int i = 0; i < n.length; i++) {
			n[i] = Integer.parseInt(in.readLine());
			if (n[i] % 2 == 0) count++;
		}
	
		if (count > 1) {
			System.out.printf("%d valores pares\n", count);
		} else {
			System.out.printf("%d valor par\n", count);
		}
		
	}
	
}
